package city.spring.modules.ext.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 实体类：老人-疾病关联关系表
 *
 * @author 侯坤林
 * @date 2020-07-07 10:37:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("oldman_disease_ext")
public class OldmanDiseaseExtEntity implements Serializable {

    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 关联疾病ID
     */
    private String diseaseId;

    /**
     * 关联老人ID
     */
    private String oldmanId;

}